"""
智能AI助手API 调试版
"""
from .llm.agent_config import run_agent
from fastapi import APIRouter

router = APIRouter()


@router.post("/ai-test/chat")
async def chat_with_ai(query: dict):
    print(query)
    return run_agent(query["query"])
